package com.huawang.mdesign.model.service.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class DiagramMatrixCellRelationVo {

    private String instanceId;

    @Schema(title = "关系的source端模型id")
    private String sourceId;

    @Schema(title = "关系的target端模型id")
    private String targetId;

    @Schema(title = "关系key，简单关系是relation时为模型类型id，property为property的key, 追溯关系和延伸关系为随机生成的id")
    private String key;

    @Schema(title = "自定义规则类型: SimpleNavigation/MetachainNavigation/ImpliedRelation")
    private String operationType;

    @Schema(title = "关系是否存在方向")
    private Boolean isDirection;

}
